package qianting.news.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import qianting.news.apis.models.wemedia.pojos.WmNewsMaterial;

import java.util.List;

@Mapper
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

     void saveRelations(@Param("materialIds") List<Long> materialIds,@Param("newsId") Long newsId, @Param("type")Short type);

}